package com.ytktt.study.week7.task10.mapper;

import com.ytktt.study.week7.task10.entity.DemoEntity;

import java.util.List;

public interface DemoEntityMapper {

    int deleteByPrimaryKey(Integer id);

    int insert(DemoEntity record);

    int insertSelective(DemoEntity record);

    DemoEntity selectByPrimaryKey(Integer id);

    int updateByPrimaryKeySelective(DemoEntity record);

    int updateByPrimaryKey(DemoEntity record);

    List<DemoEntity> selectAll();

}